﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LogicProtocolAnalyzer
{
    class UnsupportedBufferSizeException : Exception
    {
        internal int BufferSize { get; private set; }

        internal UnsupportedBufferSizeException(int bufferSize)
        {
            this.BufferSize = bufferSize;
        }
    }

    class CrcException : Exception
    {
        internal CrcException(string message)
            : base(message)
        {
        }
    }

    class UnexpectedResponseException : Exception
    {
        internal UnexpectedResponseException(string message)
            : base(message)
        {
        }
    }
}
